#ifndef TEXTEDITLOG_H
#define TEXTEDITLOG_H

#include "ILogManager.h"
#include <QTextEdit>

namespace Log {

class TextEditLog : public ILogManager
{
	QTextEdit* _widget;
public:
	TextEditLog();
	void setWidget(QTextEdit* edit);

	void addLogMessage(QString msg, LogType type = INFO);
};

}

#endif // TEXTEDITLOG_H
